<%@ include file="../common/top.jsp" %>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<link rel="StyleSheet" href="css/signon.css" type="text/css"
      media="screen"/>

<div id="Catalog">
    <div id="signOn">
        <form action="signOn" method="post">
            <h2>用户登录</h2>
            <br>
            <br>
            <c:if test="${requestScope.signOnMsg != null}">
                <p><font color="red">${requestScope.signOnMsg} </font></p>
            </c:if>
            <div class="row">
                <input type="text" id="username" name="username" value="${sessionScope.tryUsername}" placeholder=" ">
                <label for="username">账号</label>
            </div>
            <div class="row">
                <input type="password" id="password" name="password" value="${sessionScope.tryPassword}" placeholder=" ">
                <label for="password">密码</label>
            </div>
            <div class="row">
                <input type="text" name="code" size="5" maxlength="4" placeholder=" ">
                <label for="password">验证码</label>
            </div>

            <div class="row2">
                <a href="signonForm"><img src="verificationCode" id="checkCode"></a>
                <input type="submit" value="登录">
            </div>
        </form>
        <div class="row3">
            <b>没有账号？<a href="registerForm">点击注册</a></b>
        </div>
    </div>
</div>

<%@ include file="../common/bottom.jsp" %>

